import Vue from 'vue'
import Router from 'vue-router'

import head from '@/components/common/head'
import data1 from '@/components/home/data1'
import data2 from '@/components/home/data2'
import data3 from '@/components/home/data3'
import data4 from '@/components/home/data4'
import data5 from '@/components/home/data5'

Vue.use(Router)

export default new Router({
	routes: [{
			path: '/',
			redirect: '/index'
		},
		{
			path: '/index',
			component: head
		},
		{
			path: '/head',
			component: head
		},
		{
			path: '/data1',
			component: data1
		},
		{
			path: '/data2',
			component: data2
		},
		{
			path: '/data3',
			component: data3
		},
		{
			path: '/data4',
			component: data4
		},
		{
			path: '/data5',
			component: data5
		}
	]
})